package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.admin.entity.ElevatorPrincipalUser;

import java.util.List;

public interface ElevatorPrincipalUserMapper extends BaseMapper<ElevatorPrincipalUser> {
    List<ElevatorPrincipalUser> selectPrincipalUserByElevatorAndType(@Param("elevatorIds") List<Long> elevatorIds,@Param("type") Integer type);

    List<ElevatorPrincipalUser> listAll();

}
